package com.car.dal.dao.goods;


import java.util.List;

import com.car.bean.GridObj;
import com.car.bean.OrderObj;
import com.car.bean.PageObj;
import com.car.dal.dao.ibatis.IbatisCommonDao;
import com.car.dal.object.GoodsMnus;

public class GoodsMnusDaoImpl extends IbatisCommonDao<GoodsMnus, Long> implements GoodsMnusDao {

	@Override
	public GridObj GetList(GoodsMnus goodsMnus, PageObj pageObj) {
		OrderObj order = new OrderObj();
		order.setDir("desc");
		order.setSort("id");
		return super.findByPage(goodsMnus, pageObj, order);
	}

	@Override
	public List<GoodsMnus> getGoodsmnus(GoodsMnus goodsMnus) {
		List<GoodsMnus> list = this.queryForEntityList(GoodsMnus.class,"getGoodMnus",goodsMnus);
		return list;
	}

	

}
